<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="../angular.js"></script>
</head>
<body>
<div ng-app="myApp" ng-controller="myCtrl">
    <p>名: <input type="text" ng-model="name"></p>
    <h1>{{name}}</h1>
</div>
<script>
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.name = "Jack slow fuck";
});
</script>
</body>
</html>